package com.bbs.entity;

import java.util.List;

public class Reply {
    private Integer id;
    private String content;
    private int pid;
    private int uid;
//    回复时间
    private String replyTime;

//    存储楼中楼的集合
//    楼中楼列表
    private List<Comment> commentList;

    public List<Comment> getCommentList() {
        return commentList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    private User user;


    @Override
    public String toString() {
        return "Reply{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", pid=" + pid +
                ", uid=" + uid +
                ", replyTime='" + replyTime + '\'' +
                ", commentList=" + commentList +
                ", user=" + user +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(String replyTime) {
        this.replyTime = replyTime;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }
}
